<%@ page language="java" pageEncoding="UTF-8"%>

<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>无标题文档</title>
<link href="cart.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div class="cart" id="cart">
 
  
    <s:iterator value="cart" var="ccc" >
	<tr>
		<td>购物车id<s:property value="#ccc.cartId" /></td>
		<td>用户名<s:property value="#ccc.userName" /></td>
		<td><img /></td>
		<%--<img src="/i/eg_cute.gif" width="50" height="50">  </img>
		--%><td><a href="user/action?book.id=<s:property value="#ccc.id" />">订购</a></td>	
	</tr>
	</s:iterator>
  </table><%--
  
  用pro显示图片
  <img src='<s:property value="downFile"/>' width="50" height="50">  </img>
  --%>
  <img src="/shenhang06_all/test/blog.jpg" width="50" height="50">  </img>
  <s:property value="downFile"/>
  <p>&nbsp;</p>
  <p>&nbsp;</p>
</div>
</body>
</html>
